@model List<CrazyToDo.Web.Models.MatterViewModel>
    @{
        Layout = null;
    }

    @foreach (var item in Model)
    {
        if (item.State == true)
        {
            <div class="input-group" id="view-true-position">
                <span class="input-group-addon" id="view-true-height">
                    <input id="check" type="checkbox" checked="checked" onclick="changeStateInMatter(@item.Id)" class="view-true-check">
                </span>

                <p type="text" id="detailed-information" class="form-control" onclick="details(@item.Id)">
                    @item.Content
                </p>
                <span class="input-group-addon" id="view-true-delete">
                    <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteMatterInMatter(@item.Id)" />
                </span>
            </div>

        }
        else
        {
            <div class="input-group" id="view-false-position">
                <span class="input-group-addon" id="view-false-height">
                    <input id="check" type="checkbox" onclick="changeStateInMatter(@item.Id)" class="view-false-check">
                </span>

                <p type="text" id="detailed-information-none" class="form-control" onclick="details(@item.Id)">
                    @item.Content
                </p>
                <span class="input-group-addon" id="view-false-delete">
                    <img src="~/Home/img/删除(1).png" class="delete" onclick="DeleteMatterInMatter(@item.Id)" />
                </span>
            </div>

        }

    }
